#rule li {
    float: left;
    width: 30%;
    margin: 1.6%;
}

#rule .rule {
    height: 180px;
    background: #9e9e9e2e;
    border-radius: 5px;
    box-shadow: 0 0 10px #888888;
}

#rule .title {
    font-size: 16px;
    font-weight: bold;
    color: red;
    margin: 10px;
    line-height: 30px;
}

#rule button {
    float: right;
    margin: 4px 10px 4px 0;
}

#rule p {
    color: blue;
    text-indent: 10px;
    line-height: 25px;
}

#scale {
    height: 40px;
    clear: both
}

.setScale {
    width: calc(100% - 150px);
    float: left;
    clear: none;
    margin-bottom: 0
}

form label.layui-form-label {
    width: 56px;
    padding: 9px 2px;
    text-align: center;
}

.layui-form-item .layui-input-inline {
    width: 70px;
    margin-right: 0;
}

.set {
    color: red;
    margin-left: 1.6%;
    font-size: 16px;
    width: 85px !important;
    font-weight: bold;
}

.scale button {
    float: left;
    margin-top: 4px;
    margin-right: 4px;
    width: 50px;
}

form button {
    margin-top: 4px
}

.scale input {
    width: 50px;
    margin-right: 5px;
    float: left;
    height: 30px;
    margin-top: 4px;
}

#scale .layui-form-mid{
    margin-right: 5px;
}